package exception;

import java.io.FileOutputStream;
import java.io.IOException;

public class FinallyDemo02 {
    public static void main(String[] args) {

        FileOutputStream A=null;
        try {
            A=new FileOutputStream("./D/D/YUI.TXT");

        }catch (IOException i){
            System.out.println("io异常");
        }finally {
            try {
                A.close();
            } catch (Exception e) {
                System.out.println("处理类");
            }
        }

    }
}
